<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
  <head>
    <title></title>
    <base href="<%=basePath%>">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<%@ include file="/common/importJsCss.jsp" %>
	<style type="text/css">
		.div0{float:left;}
		.div1{float:left;display:block;width:200px;height:200px;background-color:red;} 
		.div2{float:right;display:block;width:200px;height:200px;background-color:green;}
	    .h21{float:left;width:200px;height:20px;background-color:blue;}
		.font1{float:left;}
		.i1{float:right;}
	</style>    
  </head>
  <body>
  	<div class="container">
        <div class="page-header">
            <h2>两个元素左右排在一行</h2>
        </div>
<pre class="prettyprint linenums"> 
		.div0{float:left;}
		.div1{float:left;display:block;width:200px;height:200px;background-color:red;} 
		.div2{float:right;display:block;width:200px;height:200px;background-color:green;}
	    .h21{float:left;width:200px;height:20px;background-color:blue;}
		.font1{float:left;}
		.i1{float:right;}       
</pre>
		<div class="div0">
			<div class="div1">div1</div> 
    		<div class="div2">div2</div>		
		</div>

    	<h2 class="h21"><font class="font1">spahql</font><i class="i1 icon-globe"></i></h2>
    </div>
  </body>
</html>
